//
//  SEIncomeEntranceCell.swift
//  SmartEyeForDoctor
//
//  Created by Mr.Lin. on 2021/5/5.
//

import UIKit

struct SEIncomeEntranceCellModel {
    var titleText: String = ""
    var memoText: String = ""
}

class SEIncomeEntranceCell: UITableViewCell {
    
    @IBOutlet weak var titleLabel: UILabel!
    @IBOutlet weak var memoLabel: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
    
    func updateCell(_ model: SEIncomeEntranceCellModel) {
        titleLabel.text = model.titleText
        memoLabel.text = model.memoText
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
